<template>
  <el-row class="tac" style="height: 100vh;">
  <el-col :span="24" >
    <h3>后台管理</h3>
    <el-menu
      default-active="2"
      class="el-menu-vertical-demo"
      @open="handleOpen"
      @close="handleClose"
      background-color="#545c64"
      text-color="#fff"
      router
      active-text-color="#ffd04b">
      <el-menu-item index="/admin/home">
        <i class="el-icon-menu"></i>
        <span slot="title">首页</span>
      </el-menu-item>
      <el-menu-item index="/admin/type">
        <i class="el-icon-guide"></i>
        <span slot="title">鲜花类型</span>
      </el-menu-item>
      <el-menu-item index="/admin/List">
        <i class="el-icon-ice-cream"></i>
        <span slot="title">鲜花列表</span>
      </el-menu-item>
      <el-menu-item index="/admin/orders">
        <i class="el-icon-s-order"></i>
        <span slot="title">订单管理</span>
      </el-menu-item>
      <el-menu-item index="/admin/vip">
        <i class="el-icon-s-custom"></i>
        <span slot="title">会员管理</span>
      </el-menu-item>
    </el-menu>
  </el-col>
</el-row>
</template>

<script>
export default {
  components: {},
  props: {},
  data() {
    return {
    };
  },
  watch: {},
  computed: {},
  methods: {
    handleOpen(key, keyPath) {
        console.log(key, keyPath);
      },
      handleClose(key, keyPath) {
        console.log(key, keyPath);
      }
  },
  
  created() {},
  mounted() {}
};
</script>
<style lang="less" scoped>

.tac {
 background-color: #545c64;
 color: #fff;
  .el-menu {
    margin-top: 100px;
  }
  h3 {
    margin: 25px 0 0 40px ;
  }
}
</style>